//
//  NSDate+StringWithFormat.h
//
//  Created by Alexey Aleshkov on 12.09.12.
//  Copyright (c) 2012 DzeTech. All rights reserved.
//


#import <Foundation/Foundation.h>


@interface NSDate (StringWithFormat)

- (NSString *)stringWithFormatForCurrentTimeZone:(NSString *)format;
- (NSString *)stringWithFormat:(NSString *)format forTimeZone:(NSTimeZone *)timeZone;
- (NSString *)stringWithFormat:(NSString *)format forLocaleId:(NSString *)localeId andTimeZone:(NSTimeZone *)timeZone;
- (NSString *)stringWithFormat:(NSString *)format forSecondsFromGMT:(NSInteger)seconds;
- (NSString *)stringWithFormat:(NSString *)format forLocaleId:(NSString *)localeId andSecondsFromGMT:(NSInteger)seconds;

+ (NSDate *)dateForCurrentTimeZoneFromString:(NSString *)string withFormat:(NSString *)format;
+ (NSDate *)dateFromString:(NSString *)string withFormat:(NSString *)format andTimeZone:(NSTimeZone *)timeZone;
+ (NSDate *)dateFromString:(NSString *)string withFormat:(NSString *)format forLocaleId:(NSString *)localeId andTimeZone:(NSTimeZone *)timeZone;
+ (NSDate *)dateFromString:(NSString *)string withFormat:(NSString *)format andSecondsFromGMT:(NSInteger)seconds;
+ (NSDate *)dateFromString:(NSString *)string withFormat:(NSString *)format forLocaleId:(NSString *)localeId andSecondsFromGMT:(NSInteger)seconds;

@end
